﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EnglishAuction.BUS
{
    public class LoaiNguoiDungBUS
    {
        public static List<LoaiNguoiDung> GetAll()
        {
            var loaiNguoiDungList = new List<LoaiNguoiDung>();
            using (var context=new EnglishAuctionEntities())
            {
                loaiNguoiDungList = context.LoaiNguoiDungs.ToList();
            }

            return loaiNguoiDungList;
        }
    }
}